package ym.ecrm.web.action.systemManagement;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;

import com.opensymphony.xwork2.ActionContext;

import ym.ecrm.core.common.exception.MessageException;
import ym.ecrm.core.dto.systemManagement.UserDTO;
import ym.ecrm.core.service.systemManagement.ISystemService;
import ym.ecrm.web.action.base.BaseAction;

/**
 * 
 * @author Princess
 * 
 */
public class LoginAction extends BaseAction {

	private String userName;
	private String password;

	@Autowired
	private ISystemService systemService;

	public String execute() {
		System.out.println(userName);
		System.out.println(password);
		return proccess();
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public String getSuccess() {
		return success;
	}

}
